package cn.juque.jdfsystem.entity;

import cn.juque.lucenecandy.core.annotation.Field;
import cn.juque.lucenecandy.core.annotation.Index;
import cn.juque.lucenecandy.core.enums.DataTypeEnum;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>注册信息</li>
 * </ul>
 * @date 2023-01-10 19:01:26
 **/
@Data
@Index(value = "jdf_register_info")
public class RegisterInfo extends JdfSystemEntity {

    /**
     * 节点名称
     */
    @Field(value = "node_name")
    private String nodeName;

    /**
     * 绑定的IP
     */
    @Field(value = "ip")
    private String ip;

    /**
     * 工作空间
     */
    @Field(value = "workspace_id")
    private String workspaceId;

    /**
     * 执行状态
     */
    @Field(value = "execute_status", type= DataTypeEnum.INT)
    private Integer executeStatus;

}
